Auto merge of #2910 - BusyJay:master, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 25 Jul 2016 19:51:47 +0000 (12:51 -0700)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2016 19:51:47 +0000 (12:51 -0700)
commitc547d972f2edc3395caae0f759cd8c058ff9ee5a
tree6593f25af814de0b0bb2bd73bdaf38971360e2da
parent5ce691c9b1d93515c5911bdfffc37fd390734980
parentf97f854f11b64411e46391012a16be3c3a8d05f7
Auto merge of #2910 - BusyJay:master, r=alexcrichton

Fix python detection

Some platform, like ArchLinux, may not have python in the PATH, but can still have python2. So we should add some fallback option to detect python correctly. This detection order is copy from [rust-lang/rust](https://github.com/rust-lang/rust/blob/master/configure#L742).
configure